package mirrormonkey.state.tools.notification.entities;

import mirrormonkey.core.annotations.ClientSideConstructor;
import mirrormonkey.core.annotations.EntityHierarchy;
import mirrormonkey.framework.entity.EntityData;
import mirrormonkey.framework.entity.SyncEntity;
import mirrormonkey.state.AnnotationPresets.ServerToClient;
import mirrormonkey.state.annotations.TrackValue;
import mirrormonkey.state.tools.notification.listeners.MockStateUpdateListener;

@EntityHierarchy
public class StateUpdateEntity extends MockStateUpdateListener implements
		SyncEntity {

	public EntityData data;

	@ServerToClient
	@TrackValue(true)
	public int value;

	@ClientSideConstructor
	public StateUpdateEntity() {
	}

	@Override
	public void setData(EntityData data) {
		this.data = data;
	}

	@Override
	public EntityData getData() {
		return data;
	}

}
